﻿Public Partial Class Details
    Inherits System.Web.UI.Page

    Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
        Dim RestId As Integer = Request.Params("Id")
        SQLResturantDetails.SelectCommand = "SELECT [Resturants.Id] AS ResturantId, [RestName], [Address], [Telephon], [Email], [PriceLevel], [LuxuryLevel], [EatingService], [WorkingHours], [UserName], [FoodType], [Description] FROM [ResturantsDetails] WHERE Resturants.Id=" & RestId & ""
        SqlDataSource1.SelectCommand = "SELECT [RestId], [ImgName] FROM [Rest_Images] WHERE RestId=" & RestId & ""
    End Sub

End Class